using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PickGold.Forms
{
    public class CFormChild_base : CForm_base
    {
        //
		public CFormChild_base() : base()
        {
			//this.MdiParent
			this.StartPosition = FormStartPosition.WindowsDefaultBounds;
        }

		protected override void OnLoad(EventArgs e)
		{
			if (this.MdiParent == null || this.WindowState != FormWindowState.Normal)
			{
				base.OnLoad(e);
				return;
			}

			CFormMdi_base frm = (CFormMdi_base)this.MdiParent;
			this.Location = frm.WorkArea.Location;
			this.Size = frm.WorkArea.Size;
			base.OnLoad(e);
		}
        //
    }
    //
}
//